package com.woniu.util;

import lombok.Getter;

@Getter
public enum ResponseEnum {
    OK(200,"成功"),
    FAIL(500,"失败"),
    AUTH(501,"没有权限")
    ;
    private Integer code;
    private String msg;

    ResponseEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
